package com.wiselink.naver.productcatalog.request.common;

import com.wiselink.naver.productcatalog.request.base.BaseAppliance;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * 小型电子（MP3/电子词典等）商品信息、导航商品信息 通用类
 */
@Getter
@Setter
@ToString(callSuper = true)
public class MicroNavigationAppliances extends BaseAppliance {
    /**
     * （额定电压） <= 200 characters
     * string (정격전압) <= 200 characters
     */
    @NotEmpty(message = "额定电压不能为空")
    @Size(max = 200, message = "额定电压不能超过200个字符")
    private String ratedVoltage;
    /**
     * (功耗) <= 200 characters
     * string (소비전력) <= 200 characters
     */
    @NotEmpty(message = "功耗不能为空")
    @Size(max = 200, message = "功耗不能超过200个字符")
    private String powerConsumption;
    /**
     * (大小) <= 200 characters
     * string (크기) <= 200 characters
     */
    @NotEmpty(message = "大小不能为空")
    @Size(max = 200, message = "大小不能超过200个字符")
    private String size;
    /**
     * (重量) <= 200 characters
     * string (무게) <= 200 characters
     */
    @NotEmpty(message = "重量不能为空")
    @Size(max = 200, message = "重量不能超过200个字符")
    private String weight;
    /**
     * (主要规格) <= 1500 characters
     * string (주요 사양) <= 1500 characters
     */
    @NotEmpty(message = "主要规格不能为空")
    @Size(max = 1500, message = "主要规格不能超过1500个字符")
    private String specification;
}
